﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using uz.control;
using uz.control.Entity;
using uz.control.IPO;

namespace iDesign
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void btnTest_Click(object sender, EventArgs e)
        {
            
        }

        private void frmMain_Load(object sender, EventArgs e)
        {
            UzTreeNode node = null;

            node = new EntityCollection();
            uzTreeView1.Nodes.Add(node);

            uzTreeView1.SelectedNode = node;

            node = new IPOCollection();
            uzTreeView1.Nodes.Add(node);

            //WordIndex wi = new WordIndex();

            //wi.AddWord(new Word() { ID = "zhw1" });
            //wi.AddWord(new Word() { ID = "zhw2" });
            //wi.AddWord(new Word() { ID = "zhw3" });
            //wi.AddWord(new Word() { ID = "zhw4" });
            


            //List<string> lst = wi.GetWordList("");

            //foreach (string str in lst)
            //{
            //    Console.WriteLine(str);
            //}

        }



    }
}
